package com.itheima.health.dao;

import com.itheima.health.pojo.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: Created by Wxk
 * @date: 2020/11/21 14:16
 * @description:
 * @version：1.0
 */
public interface MenuDao {
    Menu findMenuListByUsername(String username);

    List<Menu> findParentMenuByRoleId(@Param("RoleId") Integer id);

    List<Menu> findChildrenMenuByRoleId(@Param("ParentMenuId") Integer id);
}
